.thumbnail {
    position: relative;
}

#content-wrap .thumbnail {
    height: 180px;
    background: #f7f7f7;
}

#content-wrap .thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.progress-item {
    position: absolute; bottom: 0; left: 0; width: 100%;
    margin-bottom: 0;
}

.thumbnail .fa-check-square {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 18px;
    height: 21px;
    background: #fff;
    border-radius: 3px;
    right: 0;
    top: 0;
    color: #428bca;
}

.select-wrapper {
    display: flex;
}
.selected-batch {
    position: relative;
    height: 150px;
    max-width: 150px;
    position: relative;
    margin-right: 18px;
}

.selected-batch i {
    position: absolute;
    right: -12px;
    top:0;
}

.selected {
    border: 1px solid #428bca
}


.upload-box-title {
    /*text-overflow: ellipsis;*/
    /*overflow: hidden;*/
    /*white-space: nowrap;*/
    /*text-align: left; */
    /*background: rgba(0, 0, 0, .5);*/
    /*line-height:34px;*/
    /*height: 34px;*/
    /*color: #fff;*/
    /*width: 100%;*/
    /*padding: 0 20px;*/
    /*direction: rtl;*/
    /*text-overflow: ellipsis;*/
    /*overflow: hidden;*/
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    line-height:34px;
    height: 34px;
    color: #fff;
    width: calc(100% - 8px);
    padding: 0 10px;
    position: absolute;
    bottom: 0px;
}

.media-title {
    /*text-overflow: ellipsis;*/
    /*overflow: hidden;*/
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    line-height:34px;
    height: 34px;
    color: #fff;
    /*width: ;*/
    padding: 0 10px;
    position: absolute;
    bottom: 3px;
    width: calc(100% - 8px);
    /*direction: rtl;*/
}

.media-content {
    height: 140px;
    display: flex; justify-content: center;
    align-items: center;
    background: #f1f1f1;
    width: 100%;
}

.upload-error {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    line-height:34px;
    height: 34px;
    color: #fff;
    width: calc(100% - 8px);
    padding: 0 20px;
    position: absolute;
    bottom: 3px;
    color: red;
}


#pagination {
    text-align:center;
    display: none;
}

.pagination {
    margin: 0;
}

